package com.tianlu.store.entity;
 
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.tianlu.store.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
 
/**
 * 购物车表(ShoppingCar)实体类
 *
 * @author 梁东烂
 * @since 2023-04-27 14:07:33
 */
@Data
@ApiModel(value = "购物车表实体类", description = "购物车表实体类")
@TableName("t_shopping_car")
public class ShoppingCar extends BaseEntity<ShoppingCar> {
    private static final long serialVersionUID = 926727739819446769L;
    /**
     * 用户id
     */   
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 商品id
     */   
    @ApiModelProperty(value = "商品id")
    private Long productId;
    /**
     * 数量
     */   
    @ApiModelProperty(value = "数量")
    private Integer quantity;
}
